/**
 * @author banglong
 * @date 2016/10/8
 */
define(['xFetch'], function (fetch) {

  // 获取科室详细信息
  var getOutDTODept = function (param) {
    return fetch('/api/sendPostRequest', param);
  };

  // 获取卡片列表的查询结果
  var getCardsQuery = function (param) {
    return fetch('/api/sendPostRequest', param);
  };

  // 获取卡片详情
  var getSysCard = function (param) {
    return fetch('/api/sendPostRequest', param);
  };

  // 查询 物品的地址信息
  var getImages = function (param) {
    return fetch('/api/sendPostRequest', param);
  };

  // 设置卡片状态
  var setCardStatus = function (param) {
    return fetch('/api/sendPostRequest', param);
  };
//維修單
  var getRepairBill = function (param) {
    return fetch('/api/sendPostRequest', param);
  };
  return {
    getOutDTODept: getOutDTODept,
    getSysCard: getSysCard,
    getCardsQuery: getCardsQuery,
    getImages: getImages,
    setCardStatus: setCardStatus,
    getRepairBill:getRepairBill
  }
});